Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIRROR] Adds an HUD button to change your z-level #2195

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

Steals-The-PRs
Copy link
Collaborator

Mirrored on Nova: NovaSector/NovaSector#1204
Original PR: tgstation/tgstation#81680

About The Pull Request

Adds a quick shortcut to the "Move up" and "Move down" verbs via a button on the HUD!

Gnarly as hell features include:

  • Implemented on humans, ghosts, cyborgs, AIs and Xenomorphs!
  • One button, two actions! Left click goes up, right click goes down.
  • Each UI style has its own themed sprite! (I made them myself and I'm not good spriting but I like how they ended up)
  • Has a tooltip! (Wow!)

Demo video (has old button placement, look below to see the new placement):

https://youtu.be/Mlw6C_ta50g

Mobs screenshots

AI:
image

Ghost:
image

Larva/Xenomorph:
image

Cyborg:
image

UI styles screenshots (old placement)

Midnight:
image

Clockwork:
image

Detective:
image

Glass:
image

Operative:
image

Plasmafire:
image

Retro:
image

Slimecore:
image

Trasen-knox:
image

New placement:

image

Why It's Good For The Game

We already have a bunch of maps with multiple Z-levels (Northstar, Tramstation, Icebox) and I'm sure there will be more to come.
As these maps become more common, the ability to move up/down z-levels is bound to become important, if not essential. So I thought that, instead of hiding this ability behind a tab or a hotkeys menu, why not have it front and center?

Also, I remember a long time ago there was a push to make the verbs menu on the top right obsolete, this helps to get us to that goal if we're still doing it.

(This whole thing was inspired by me seeing what I assume to be a not-so-new but not-so-experienced player being confused as to how to go down those exact stairs on Tramstation's science when the gravgen was broken, and my inability to be able to explain it to them, partly because i couldnt remember what the key was called, and partly because i was a mime.)

Changelog

🆑 TheSmallBlue
qol: added an HUD button to go up and down floors
/:cl:

* Adds an HUD button to change your z-level (#81680)

## About The Pull Request

Adds a quick shortcut to the "Move up" and "Move down" verbs via a
button on the HUD!

Gnarly as hell features include:
- Implemented on humans, ghosts, cyborgs, AIs and Xenomorphs!
- One button, two actions! Left click goes up, right click goes down.
- Each UI style has its own themed sprite! (I made them myself and I'm
not good spriting but I like how they ended up)
- Has a tooltip! (Wow!)

Demo video (has old button placement, look below to see the new
placement):

https://youtu.be/Mlw6C_ta50g

<details>
<summary>Mobs screenshots</summary>

AI:

![image](https://github.com/tgstation/tgstation/assets/24967815/c34f1dd9-4efc-4170-a811-ebe3c96ef362)

Ghost:

![image](https://github.com/tgstation/tgstation/assets/24967815/9b6adadf-9dec-4f7a-b230-227b9f2232d3)

Larva/Xenomorph:

![image](https://github.com/tgstation/tgstation/assets/24967815/7bb60037-149a-446e-909b-9424e7fc0726)

Cyborg:

![image](https://github.com/tgstation/tgstation/assets/24967815/f3426cb8-763d-4dec-9921-48267a039ed5)

</details>

<details>
<summary>UI styles screenshots (old placement)</summary>

Midnight:

![image](https://github.com/tgstation/tgstation/assets/24967815/232bde6d-fdb9-4b0e-a900-04522c3e5695)

Clockwork:

![image](https://github.com/tgstation/tgstation/assets/24967815/67b8e777-4177-435a-9ac4-18a617cd7fb7)

Detective:

![image](https://github.com/tgstation/tgstation/assets/24967815/ce3cff5a-e0be-4d5f-ab2a-3c740fc68841)

Glass:

![image](https://github.com/tgstation/tgstation/assets/24967815/8934da4d-a3c6-4c06-be5b-b1b457603b09)

Operative:

![image](https://github.com/tgstation/tgstation/assets/24967815/3ebe1242-fc78-4de3-bb92-e1ced3e3cfb6)

Plasmafire:

![image](https://github.com/tgstation/tgstation/assets/24967815/b3667443-cd35-42e2-a287-56522f589f5e)

Retro:

![image](https://github.com/tgstation/tgstation/assets/24967815/89e82b1b-9cda-4d0d-bdad-cd7bdbc27fea)

Slimecore:

![image](https://github.com/tgstation/tgstation/assets/24967815/8e5fe17f-e118-4c13-b99d-9a9d444f0e9a)

Trasen-knox:

![image](https://github.com/tgstation/tgstation/assets/24967815/dddf6ef5-633d-4bbe-9f02-725affaa66dd)


</details>

**New placement:**

<details>


![image](https://github.com/tgstation/tgstation/assets/24967815/edfa4ee3-a642-4b85-b8e6-5064cee91c3d)

</details>

## Why It's Good For The Game

We already have a bunch of maps with multiple Z-levels (Northstar,
Tramstation, Icebox) and I'm sure there will be more to come.
As these maps become more common, the ability to move up/down z-levels
is bound to become important, if not essential. So I thought that,
instead of hiding this ability behind a tab or a hotkeys menu, why not
have it front and center?

Also, I remember a long time ago there was a push to make the verbs menu
on the top right obsolete, this helps to get us to that goal if we're
still doing it.

(This whole thing was inspired by me seeing what I assume to be a
not-so-new but not-so-experienced player being confused as to how to go
down those exact stairs on Tramstation's science when the gravgen was
broken, and my inability to be able to explain it to them, partly
because i couldnt remember what the key was called, and partly because i
was a mime.)
## Changelog
:cl:
qol: added an HUD button to go up and down floors
/:cl:

* Adds an HUD button to change your z-level

---------

Co-authored-by: Ilán Mori <[email protected]>
@Iajret Iajret merged commit 5bdfe22 into master Feb 29, 2024
24 checks passed
@Iajret Iajret deleted the upstream-mirror-1204 branch February 29, 2024 18:42
AnywayFarus added a commit that referenced this pull request Feb 29, 2024
Iajret pushed a commit that referenced this pull request Apr 27, 2024
* Don't waste fertilizer + worm fertilizer is better

Worm fertilzer improves both stats at once
Check ahead of time if we have stuff to use (not having even 1 in a
stack would be a bug anyways but whatever)
Shuffles some checks around to facilitate the logic

* that explains why nothing made sense

* fertilizing scales current growth timer

I am impatient, I want my potato NOW
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants